<template>
  <el-container class="wrapper">
    <el-header class="header">
      <router-view name="header"></router-view>
    </el-header>
    <el-container>
      <el-aside class="aside" >
        <router-view name="navigator"></router-view>
      </el-aside>
      <el-main class="main">
        <router-view name="main"></router-view>
      </el-main>
    </el-container>
    <el-footer class="footer">
      <router-view name="footer"></router-view>
    </el-footer>
  </el-container>
</template>

<script>
export default {
  name: 'App'
}
</script>

<style scoped>
.wrapper {
  border: 1px solid blue ;
}

.header {
  background: #f4f4f4;
}

.aside {
  background: #ced7ff;
}

.main {
  background: #fffcce;
}

.footer {
  background: #f4f4f4;
}
</style>